`ifndef _ral_reg_PPU_REG_ppu_reg_MODE_SEL_rtl_
`define _ral_reg_PPU_REG_ppu_reg_MODE_SEL_rtl_

`include "vmm_ral_rw_field_rtl.sv"
`include "vmm_ral_notifier_rtl.sv"


module ral_reg_PPU_REG_ppu_reg_MODE_SEL_rtl(input  clk,
                            input  rstn,
                            input  [31:0] hst_wdat,
                            output [31:0] hst_rdat,
                            input  [3:0] hst_sel,
                            input  hst_wen,
                            output [7:0] mode_sel_out,
                            output mode_sel_rd, mode_sel_wr,
                            input  mode_sel_wen,
                            input  [7:0] mode_sel_in);

vmm_ral_rw_field_rtl #(8, 'haa)
   mode_sel(clk, rstn, mode_sel_out,
   hst_wdat[7:0], hst_sel[0], hst_wen,
   mode_sel_in, mode_sel_wen);


vmm_ral_notifier_rtl _n_mode_sel(clk, rstn, hst_sel[0], hst_wen, mode_sel_rd, mode_sel_wr);


assign hst_rdat[31:0] = { mode_sel_out };


endmodule

`endif
